﻿using System.Workflow.Activities;

namespace TPG.SharePoint.Workflow.Sample
{
	partial class Workflow
	{
		#region Designer generated code
		
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
		private void InitializeComponent()
		{
            this.CanModifyActivities = true;
            System.Workflow.Runtime.CorrelationToken correlationtoken1 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Runtime.CorrelationToken correlationtoken2 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind7 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind8 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind9 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Runtime.CorrelationToken correlationtoken3 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind10 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind11 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind12 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind13 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Runtime.CorrelationToken correlationtoken4 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind14 = new System.Workflow.ComponentModel.ActivityBind();
            this.logWorkflowModification = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.waitForModification = new Microsoft.SharePoint.WorkflowActions.OnWorkflowModified();
            this.logTaskTwoResult = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.logTaskTwoCompleted = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.completeTaskTwo = new Microsoft.SharePoint.WorkflowActions.CompleteTask();
            this.waitForTaskTwoChange = new Microsoft.SharePoint.WorkflowActions.OnTaskChanged();
            this.logTaskTwoCreated = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.createTaskTwo = new Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType();
            this.logTaskOneResult = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.logTaskOneCompleted = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.completeTaskOne = new Microsoft.SharePoint.WorkflowActions.CompleteTask();
            this.waitForTaskOneChange = new Microsoft.SharePoint.WorkflowActions.OnTaskChanged();
            this.logTaskOneCreated = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.createTaskOne = new Microsoft.SharePoint.WorkflowActions.CreateTask();
            this.eventDrivenActivity1 = new System.Workflow.Activities.EventDrivenActivity();
            this.runTaskTwo = new System.Workflow.Activities.SequenceActivity();
            this.runTaskOne = new System.Workflow.Activities.SequenceActivity();
            this.eventHandlersActivity1 = new System.Workflow.Activities.EventHandlersActivity();
            this.runTasks = new System.Workflow.Activities.ParallelActivity();
            this.logWorkflowCompleted = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.workflowModificationScope = new System.Workflow.Activities.EventHandlingScopeActivity();
            this.logWorkflowStart = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.enableModification = new Microsoft.SharePoint.WorkflowActions.EnableWorkflowModification();
            this.onWorkflowActivated1 = new Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated();
            // 
            // logWorkflowModification
            // 
            this.logWorkflowModification.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logWorkflowModification.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
            this.logWorkflowModification.HistoryDescription = "The workflow was modified";
            this.logWorkflowModification.HistoryOutcome = "";
            this.logWorkflowModification.Name = "logWorkflowModification";
            this.logWorkflowModification.OtherData = "";
            this.logWorkflowModification.UserId = -1;
            // 
            // waitForModification
            // 
            this.waitForModification.ContextData = null;
            correlationtoken1.Name = "modificationToken";
            correlationtoken1.OwnerActivityName = "Workflow";
            this.waitForModification.CorrelationToken = correlationtoken1;
            this.waitForModification.ModificationId = new System.Guid("e43f0c48-71a6-4e87-a9c7-42f2412b1a99");
            this.waitForModification.Name = "waitForModification";
            this.waitForModification.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.WaitForModification_Invoked);
            // 
            // logTaskTwoResult
            // 
            this.logTaskTwoResult.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logTaskTwoResult.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
            activitybind1.Name = "Workflow";
            activitybind1.Path = "TaskTwoComments";
            this.logTaskTwoResult.HistoryOutcome = "";
            this.logTaskTwoResult.Name = "logTaskTwoResult";
            this.logTaskTwoResult.OtherData = "";
            this.logTaskTwoResult.UserId = -1;
            this.logTaskTwoResult.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryDescriptionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            // 
            // logTaskTwoCompleted
            // 
            this.logTaskTwoCompleted.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logTaskTwoCompleted.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.TaskCompleted;
            this.logTaskTwoCompleted.HistoryDescription = "Task two was completed";
            activitybind2.Name = "Workflow";
            activitybind2.Path = "TaskTwoResult";
            this.logTaskTwoCompleted.Name = "logTaskTwoCompleted";
            this.logTaskTwoCompleted.OtherData = "";
            this.logTaskTwoCompleted.UserId = -1;
            this.logTaskTwoCompleted.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryOutcomeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            // 
            // completeTaskTwo
            // 
            correlationtoken2.Name = "TaskTwoToken";
            correlationtoken2.OwnerActivityName = "runTaskTwo";
            this.completeTaskTwo.CorrelationToken = correlationtoken2;
            this.completeTaskTwo.Name = "completeTaskTwo";
            activitybind3.Name = "Workflow";
            activitybind3.Path = "TaskId2";
            activitybind4.Name = "Workflow";
            activitybind4.Path = "TaskTwoResult";
            this.completeTaskTwo.SetBinding(Microsoft.SharePoint.WorkflowActions.CompleteTask.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            this.completeTaskTwo.SetBinding(Microsoft.SharePoint.WorkflowActions.CompleteTask.TaskOutcomeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            // 
            // waitForTaskTwoChange
            // 
            this.waitForTaskTwoChange.AfterProperties = null;
            this.waitForTaskTwoChange.BeforeProperties = null;
            this.waitForTaskTwoChange.CorrelationToken = correlationtoken2;
            this.waitForTaskTwoChange.Executor = null;
            this.waitForTaskTwoChange.Name = "waitForTaskTwoChange";
            activitybind5.Name = "Workflow";
            activitybind5.Path = "TaskId2";
            this.waitForTaskTwoChange.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.ChangeTaskTwo_Invoked);
            this.waitForTaskTwoChange.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskChanged.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            // 
            // logTaskTwoCreated
            // 
            this.logTaskTwoCreated.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logTaskTwoCreated.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.TaskCreated;
            this.logTaskTwoCreated.HistoryDescription = "Task two was created";
            this.logTaskTwoCreated.HistoryOutcome = "";
            this.logTaskTwoCreated.Name = "logTaskTwoCreated";
            this.logTaskTwoCreated.OtherData = "";
            this.logTaskTwoCreated.UserId = -1;
            // 
            // createTaskTwo
            // 
            activitybind6.Name = "Workflow";
            activitybind6.Path = "TaskTwoContentTypeID";
            this.createTaskTwo.CorrelationToken = correlationtoken2;
            this.createTaskTwo.ListItemId = -1;
            this.createTaskTwo.Name = "createTaskTwo";
            this.createTaskTwo.SpecialPermissions = null;
            activitybind7.Name = "Workflow";
            activitybind7.Path = "TaskId2";
            this.createTaskTwo.TaskProperties = null;
            this.createTaskTwo.MethodInvoking += new System.EventHandler(this.CreateTaskTwo_Invoking);
            this.createTaskTwo.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind7)));
            this.createTaskTwo.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType.ContentTypeIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
            // 
            // logTaskOneResult
            // 
            this.logTaskOneResult.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logTaskOneResult.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
            activitybind8.Name = "Workflow";
            activitybind8.Path = "TaskOneComments";
            this.logTaskOneResult.HistoryOutcome = "";
            this.logTaskOneResult.Name = "logTaskOneResult";
            this.logTaskOneResult.OtherData = "";
            this.logTaskOneResult.UserId = -1;
            this.logTaskOneResult.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryDescriptionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind8)));
            // 
            // logTaskOneCompleted
            // 
            this.logTaskOneCompleted.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logTaskOneCompleted.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.TaskCompleted;
            this.logTaskOneCompleted.HistoryDescription = "Task one was completed";
            activitybind9.Name = "Workflow";
            activitybind9.Path = "TaskOneResult";
            this.logTaskOneCompleted.Name = "logTaskOneCompleted";
            this.logTaskOneCompleted.OtherData = "";
            this.logTaskOneCompleted.UserId = -1;
            this.logTaskOneCompleted.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryOutcomeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind9)));
            // 
            // completeTaskOne
            // 
            correlationtoken3.Name = "TaskOneToken";
            correlationtoken3.OwnerActivityName = "Workflow";
            this.completeTaskOne.CorrelationToken = correlationtoken3;
            this.completeTaskOne.Name = "completeTaskOne";
            activitybind10.Name = "Workflow";
            activitybind10.Path = "TaskId";
            activitybind11.Name = "Workflow";
            activitybind11.Path = "TaskOneResult";
            this.completeTaskOne.SetBinding(Microsoft.SharePoint.WorkflowActions.CompleteTask.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind10)));
            this.completeTaskOne.SetBinding(Microsoft.SharePoint.WorkflowActions.CompleteTask.TaskOutcomeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind11)));
            // 
            // waitForTaskOneChange
            // 
            this.waitForTaskOneChange.AfterProperties = null;
            this.waitForTaskOneChange.BeforeProperties = null;
            this.waitForTaskOneChange.CorrelationToken = correlationtoken3;
            this.waitForTaskOneChange.Executor = null;
            this.waitForTaskOneChange.Name = "waitForTaskOneChange";
            activitybind12.Name = "Workflow";
            activitybind12.Path = "TaskId";
            this.waitForTaskOneChange.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.ChangeTaskOne_Invoked);
            this.waitForTaskOneChange.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskChanged.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind12)));
            // 
            // logTaskOneCreated
            // 
            this.logTaskOneCreated.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logTaskOneCreated.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.TaskCreated;
            this.logTaskOneCreated.HistoryDescription = "Task one was created";
            this.logTaskOneCreated.HistoryOutcome = "";
            this.logTaskOneCreated.Name = "logTaskOneCreated";
            this.logTaskOneCreated.OtherData = "";
            this.logTaskOneCreated.UserId = -1;
            // 
            // createTaskOne
            // 
            this.createTaskOne.CorrelationToken = correlationtoken3;
            this.createTaskOne.ListItemId = -1;
            this.createTaskOne.Name = "createTaskOne";
            this.createTaskOne.SpecialPermissions = null;
            activitybind13.Name = "Workflow";
            activitybind13.Path = "TaskId";
            this.createTaskOne.TaskProperties = null;
            this.createTaskOne.MethodInvoking += new System.EventHandler(this.CreateTaskOne_Invoking);
            this.createTaskOne.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTask.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind13)));
            // 
            // eventDrivenActivity1
            // 
            this.eventDrivenActivity1.Activities.Add(this.waitForModification);
            this.eventDrivenActivity1.Activities.Add(this.logWorkflowModification);
            this.eventDrivenActivity1.Name = "eventDrivenActivity1";
            // 
            // runTaskTwo
            // 
            this.runTaskTwo.Activities.Add(this.createTaskTwo);
            this.runTaskTwo.Activities.Add(this.logTaskTwoCreated);
            this.runTaskTwo.Activities.Add(this.waitForTaskTwoChange);
            this.runTaskTwo.Activities.Add(this.completeTaskTwo);
            this.runTaskTwo.Activities.Add(this.logTaskTwoCompleted);
            this.runTaskTwo.Activities.Add(this.logTaskTwoResult);
            this.runTaskTwo.Name = "runTaskTwo";
            // 
            // runTaskOne
            // 
            this.runTaskOne.Activities.Add(this.createTaskOne);
            this.runTaskOne.Activities.Add(this.logTaskOneCreated);
            this.runTaskOne.Activities.Add(this.waitForTaskOneChange);
            this.runTaskOne.Activities.Add(this.completeTaskOne);
            this.runTaskOne.Activities.Add(this.logTaskOneCompleted);
            this.runTaskOne.Activities.Add(this.logTaskOneResult);
            this.runTaskOne.Name = "runTaskOne";
            // 
            // eventHandlersActivity1
            // 
            this.eventHandlersActivity1.Activities.Add(this.eventDrivenActivity1);
            this.eventHandlersActivity1.Name = "eventHandlersActivity1";
            // 
            // runTasks
            // 
            this.runTasks.Activities.Add(this.runTaskOne);
            this.runTasks.Activities.Add(this.runTaskTwo);
            this.runTasks.Name = "runTasks";
            // 
            // logWorkflowCompleted
            // 
            this.logWorkflowCompleted.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logWorkflowCompleted.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowCompleted;
            this.logWorkflowCompleted.HistoryDescription = "Sample workflow has completed";
            this.logWorkflowCompleted.HistoryOutcome = "";
            this.logWorkflowCompleted.Name = "logWorkflowCompleted";
            this.logWorkflowCompleted.OtherData = "";
            this.logWorkflowCompleted.UserId = -1;
            // 
            // workflowModificationScope
            // 
            this.workflowModificationScope.Activities.Add(this.runTasks);
            this.workflowModificationScope.Activities.Add(this.eventHandlersActivity1);
            this.workflowModificationScope.Name = "workflowModificationScope";
            // 
            // logWorkflowStart
            // 
            this.logWorkflowStart.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logWorkflowStart.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowStarted;
            this.logWorkflowStart.HistoryDescription = "The workflow has started";
            this.logWorkflowStart.HistoryOutcome = "";
            this.logWorkflowStart.Name = "logWorkflowStart";
            this.logWorkflowStart.OtherData = "";
            this.logWorkflowStart.UserId = -1;
            // 
            // enableModification
            // 
            this.enableModification.ContextData = "";
            this.enableModification.CorrelationToken = correlationtoken1;
            this.enableModification.ModificationId = new System.Guid("e43f0c48-71a6-4e87-a9c7-42f2412b1a99");
            this.enableModification.Name = "enableModification";
            this.enableModification.MethodInvoking += new System.EventHandler(this.WorkflowModification_Invoking);
            // 
            // onWorkflowActivated1
            // 
            correlationtoken4.Name = "WorkflowToken";
            correlationtoken4.OwnerActivityName = "Workflow";
            this.onWorkflowActivated1.CorrelationToken = correlationtoken4;
            this.onWorkflowActivated1.EventName = "OnWorkflowActivated";
            this.onWorkflowActivated1.Name = "onWorkflowActivated1";
            activitybind14.Name = "Workflow";
            activitybind14.Path = "WorkflowActivationProperties";
            this.onWorkflowActivated1.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.OnWorkflowActivated_Invoked);
            this.onWorkflowActivated1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind14)));
            // 
            // Workflow
            // 
            this.Activities.Add(this.onWorkflowActivated1);
            this.Activities.Add(this.enableModification);
            this.Activities.Add(this.logWorkflowStart);
            this.Activities.Add(this.workflowModificationScope);
            this.Activities.Add(this.logWorkflowCompleted);
            this.Name = "Workflow";
            this.CanModifyActivities = false;

		}

		#endregion

        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logTaskTwoResult;
        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logTaskOneResult;
        private SequenceActivity runTaskTwo;
        private SequenceActivity runTaskOne;
        private ParallelActivity runTasks;
        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logWorkflowCompleted;
        private Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated onWorkflowActivated1;
        private Microsoft.SharePoint.WorkflowActions.CompleteTask completeTaskTwo;
        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logTaskTwoCompleted;
        private Microsoft.SharePoint.WorkflowActions.OnTaskChanged waitForTaskTwoChange;
        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logTaskTwoCreated;
        private Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType createTaskTwo;
        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logWorkflowModification;
        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logTaskOneCompleted;
        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logTaskOneCreated;
        private Microsoft.SharePoint.WorkflowActions.CompleteTask completeTaskOne;
        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logWorkflowStart;
        private EventHandlingScopeActivity workflowModificationScope;
        private Microsoft.SharePoint.WorkflowActions.OnWorkflowModified waitForModification;
        private EventDrivenActivity eventDrivenActivity1;
        private EventHandlersActivity eventHandlersActivity1;
        private Microsoft.SharePoint.WorkflowActions.CreateTask createTaskOne;
        private Microsoft.SharePoint.WorkflowActions.OnTaskChanged waitForTaskOneChange;
        private Microsoft.SharePoint.WorkflowActions.EnableWorkflowModification enableModification;
	}
}
